import { ManyToMany,JoinTable,Column,OneToMany, CreateDateColumn, Entity, PrimaryGeneratedColumn, UpdateDateColumn } from "typeorm";
import { Base } from "libs/Entities/base.entity";
import { Web_link } from "./web-link.entity";
@Entity()
export class Web_classify extends Base{
    @Column({
        type: 'varchar',
        unique: true,
        length: 50,
        comment: '名称'
    })
    title: string;
    @OneToMany(() => Web_link, Web_link => Web_link.category)
    links: Web_link[];

}
